'''
Created on 2024年7月19日

@author: Administrator
'''
from builtins import sum

for i in range(1,21):
    print(i)

k = [x for x in range(1,1_000_001)]
print(k[-1])
print(min(k))
print(max(k))
print(sum(k))

arr = []

for i in range(1,21,2):
    arr.append(i)
    
print(arr)
for j in arr:
    print(j)

arr.clear()
print(arr)

for i in range(3,31):
    if i%3==0:
        arr.append(i)
        print(i)
print(arr)
arr = [x**3 for x in range(1,11)]
print(arr)




